package com.nowcoder.community.entity;/**
 * 功能描述
 *
 * @author 21775
 * @date 2022/09/13  22:51
 */

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

/**
 *@ClassName User
 *@Description TODO 用户表
 *@Author 21775
 *@Date 2022/9/13 22:51
 *@Version 1.0
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class User {
    private int id;
    private String username;
    private String password;
    private String salt;  // 盐
    private String email;
    private int type;     // 类型
    private int status;   // 状态
    private String activationCode;    // 激活码
    private String headerUrl;    // 头像url
    private Date createTime;
}
